package com.example.demo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("站内信")
@Data
public class Message {

    @ApiModelProperty("用户Id")
    private Long id;

    @ApiModelProperty("发送者Id")
    private Long postUserId;

    @ApiModelProperty("接收者Id")
    private Long receiveUserId;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("状态，0正常，1禁用")
    private Byte state;

    @ApiModelProperty("是否删除，0否，1是")
    private Byte deleteState;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}